/*
 * Copyright (C) 2017-2021
 * All rights reserved, Designed By
 * Copyright authorization contact 18814114118
 */
package com.shop.cereshop.app.service.agreement.impl;

import com.shop.cereshop.app.dao.agreement.AgreementDAO;
import com.shop.cereshop.commons.domain.agreement.Agreement;
import com.shop.cereshop.app.service.agreement.AgreementService;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 业务实现类
 * 协议表
 * </p>
 *
 * @author
 * @date 2025-07-29
 */
@Slf4j
@Service
public class AgreementServiceImpl implements AgreementService {
    @Resource
    private AgreementDAO agreementDAO;

    @Override
    public Agreement getById(Long id) {
        return agreementDAO.getById(id);
    }
}
